﻿<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages.Administration, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" MasterPageFile="~/_admin/admin.master" %>

<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="System.Text" %>
<%@ Import Namespace="Microsoft.SharePoint.Administration" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.Reflection" %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="Microsoft.SharePoint.Administration" %>
<%@ Import Namespace="System.Web.Configuration" %>
<%@ Import Namespace="System.Xml" %>
<%@ Import Namespace="System.IO" %>

<script runat="server">
    const string NEW_DB = "<a onmouseover=\"this.style.cursor='hand';\" title='Create Arrow Database'  onclick=\"javascript:window.showModalDialog('createArrowDatabase.aspx','','dialogWidth=400px;dialogHeight=466px;center=yes;help=no;scroll=yes;status=no;resizable=yes;');window.location.reload();\"><img src='../_layouts/images/NEWITEM.GIF' border='0' alt='Create Arrow Database' ></a>";
    const string NEW_DB_TEXT = "<a onmouseover=\"this.style.cursor='hand';\" title='Create Arrow Database' onclick=\"javascript:window.showModalDialog('createArrowDatabase.aspx','','dialogWidth=400px;dialogHeight=466px;center=yes;help=no;scroll=yes;status=no;resizable=yes;');window.location.reload();\">Create an Arrow Database</a>";
    
    protected void Page_Load(object sender, EventArgs e)
    {
        arrowDatabaseLink.Text = NEW_DB;
        arrowDatabaseTextLink.Text = NEW_DB_TEXT;
    }
</script>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    Use this page to create the Arrow database.
    <hr style="height: 1px; width: 100%; color: Gray" />
    <asp:Label ID="arrowDatabaseLink" runat="server" Text=""></asp:Label>
    <asp:Label ID="arrowDatabaseTextLink" runat="server" Text=""></asp:Label>
    <hr style="height: 1px; width: 100%; color: Gray" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Windward Arrow Database Settings
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    Windward Arrow Database Settings
</asp:Content>
